<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="comwarningCss" jsFile="comwarningJs" current="notification">
	<!-- BEGIN CONTENT BODY -->
    <div class="page-content">
    	<!-- BEGIN PAGE HEAD-->
         <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1><!-- <#if userVO.id=''>添加用户<#else>修改用户</#if> -->预警管理
                    <small><!-- <#if userVO.id=''>新建个人用户界面<#else>修改个人用户界面</#if> -->添加预警页面</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
        	<li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">添加预警</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="portlet light bordered">
                <div class="portlet-body form edit-form">
                    <form action="#" class="horizontal-form createform" id="addWarning" >
                            <input type="hidden" id="id"  name="id" value="${vo.id}">  
                            <div class="form-body">
	                            <div class="alert alert-danger display-hide">
	                                <button class="close" data-close="alert"></button> 表单含有错误. 请检查. 
	                            </div>
	                            <div class="alert alert-success display-hide">
	                                <button class="close" data-close="alert"></button> 表单验证通过! 
	                            </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">所属公司</label>
                                                <div class="input-group-content">
                                                    <select class="form-control input-inline" placeholder="★请输入所属公司" name="companyId" id="comID" >
                                                        <option value="${vo.accountName}">${vo.accountName}</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">账户名称</label>
                                                <div class="input-group-content">
                                                	<input type="text" class="form-control" placeholder="★账户名称" name="accountName" value="${vo.accountName}" readonly>
                                            	</div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                    
                                </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">账户号码</label>
                                                <div class="input-group-content">
                                                    <input type="text" class="form-control" placeholder="★账户号码" name="accountNo" value="${vo.accountNo}" readonly>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">信息接收人</label>
                                                <div class="input-group-content">
                                                    <select class="form-control input-inline" placeholder="可多选" multiple="multiple" name="receiver" >
                                                        <option value="${vo.accountName}">${vo.accountName}</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">账户余额</label>
                                                <div class="input-group-content">
                                                    <input type="text" class="form-control" placeholder="账户余额" name="accountAmount" value="${vo.specialLevel}" readonly>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">冻结金额</label>
                                                <div class="input-group-content">
                                                    <input type="text" class="form-control" placeholder="冻结金额" name="frozenAmount" value="${vo.specialLevel}" readonly>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">可用余额</label>
                                                <div class="input-group-content">
                                                    <input type="text" class="form-control" placeholder="可用余额" name="useableAmount" value="${vo.specialLevel}" readonly>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">预警状态</label>
                                                <div class="input-group-content">
                                                    <input type="text" class="form-control" placeholder="预警状态" name="warningType" value="" readonly>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                </div>
                           	</div>
                            <div class="form-actions top">
                                <div class="row">
                                    <div class="col-md-offset-5 col-md-7">
                                         <button type="submit" class="btn green" id="#warningSave">保存</button>
                                        <button type="button" class="btn default" id="indClose"><a href="${context}/early/warning/viewIndex">返回</a></button>
                                    </div>
                                </div>
                            </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- END CONTENT BODY -->

</@page.mainTemplate>